<%--
  Created by IntelliJ IDEA.
  User: qpx
  Date: 2017/5/11
  Time: 14:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
    <title>Title</title>
</head>
<link rel="stylesheet" href="<%=path %>/bootstrap-3.3.7-dist/css/bootstrap.min.css" type="text/css"></link>
<script type="text/javascript" src="<%=path %>/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="<%=path %>/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<body>

<table class="table table-hover">
    <tr>
        <td>id</td>
        <td>ip</td>
        <td>用户名</td>
        <td>密码</td>
    </tr>
    <c:forEach items="${users}" var="user">
        <tr>
            <td>${user.id}</td>
            <td>${user.loginIp}</td>
            <td>${user.userName}</td>
            <td>${user.password}</td>
        </tr>
    </c:forEach>
</table>
<div>${pageHtml}</div>
</body>
</html>
